package com.awenhui.demo.model.entity;

import java.util.Date;

import javax.persistence.*;

import lombok.Data;


@Data
@Entity
@Table(name="ua_role")
public class RoleEntity {

    @Id
    private Long roleId;

    @Column(name="name",nullable = false,columnDefinition = "varchar(256) comment '角色名称'")
    private String name;

    @Column(name="createTime",nullable = false,columnDefinition = "datetime comment '创建时间22'")
    private Date createTime;



    

}